package com.hk.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CourseInfo {
    private Integer id;
    private String major;
    @JsonProperty("class")
    private String className;  // 使用不同的变量名以避免与保留关键字冲突
    private String term;
    private String course;
    private Integer empId;
    private Date createTime;
    private Date updateTime;
}

